import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {NzIconModule, NzSelectModule, NzTreeSelectModule} from 'ng-zorro-antd';
import {FormsModule} from '@angular/forms';
import {SysBackupTemplateSelectAlainComponent} from './sys-backup-template-select-alain.component';
import {BaseTreeModule} from '@sb/base';
import {DelonFormModule, WidgetRegistry} from '@delon/form';
import {SysBackupTemplateSelectModule} from '../sys-backup-template-select/sys-backup-template-select.module';


@NgModule({
    declarations: [
        SysBackupTemplateSelectAlainComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        NzTreeSelectModule,
        NzIconModule,
        BaseTreeModule,
        DelonFormModule,
        NzSelectModule,
        SysBackupTemplateSelectModule
    ],
    entryComponents: [SysBackupTemplateSelectAlainComponent],
    exports: [SysBackupTemplateSelectAlainComponent],
})
export class SysBackupTemplateSelectAlainModule {
    constructor(widgetRegistry: WidgetRegistry) {
        widgetRegistry.register(SysBackupTemplateSelectAlainComponent.KEY, SysBackupTemplateSelectAlainComponent);
    }
}
